import request from '../../util/axios'

// 根据查询条件，与分组条件对数据进行统计
export const getDataStatistics = (data) => {
  return request({
    url: '/yuyi-storehouse-boot/count/archiveCount/countCategory',
    method: 'post',
    data: data
  })
}

// 生成基础统计数据，可设置定时任务
export const getBasicsStatistics = (data) => {
  return request({
    url: '/yuyi-storehouse-boot/count/archiveCount/foundStatistics',
    method: 'post',
    data: data
  })
}
